<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Vite App</title>
  </head>
  <body>
    <div id="container"></div>
    <div id="root"></div>
    <script>
      const container = document.getElementById('container');
      const span1 = document.createElement('span');
      span1.innerHTML='span1';
      const span2 = document.createElement('span');
      span2.innerHTML='span1';
      // 创建一个文档碎片
      const wrapper = document.createDocumentFragment();
      wrapper.appendChild(span1);
      wrapper.appendChild(span2);
      container.appendChild(wrapper); // 功成身退
    </script>
    <script type="module" src="/src/main.jsx"></script>
    

  </body>
</html>
